package com.hmall.search.service;

import java.util.List;

import com.hmall.search.domain.dto.ItemDoc;

/**
 * @Author: suren@517na.com
 * @CreateTime: 2025-04-07
 * @Description: 查询Service
 */
public interface SearchService {


    /**
     * 根据id批量查询商品
     *
     * @param ids
     * @return
     */
    List<ItemDoc> queryItemByIds(List<Long> ids);


    /**
     * 根据id查询商品详情
     *
     * @param id
     * @return
     */
    ItemDoc queryItemById(Long id);
}
